<template>
 <van-swipe class="my-swipe" :autoplay="autoplay" indicator-color="white" :height="150">
   <van-swipe-item v-for="image in images" width="100%" :key="image">
     <img class="swipe-img" :src="image" />
   </van-swipe-item>
 </van-swipe>
</template>

<script>
export default {
  name: "swipe",
  props:['images','autoplay']
}
</script>

<style scoped>
.swipe-img {
  width:100%;
}
</style>